class Position(var x: Double = 0,var y: Double = 0) {
    def move(deltaX: Double = 0,deltaY: Double = 0): Unit = {
        x += deltaX
        y += deltaY
    }
    
    var x1: Int = 0
    def x1(i: Int): Int = x1 + i
}
